Add comprehensive end-to-end testing infrastructure with Playwright - #749
Merged
Conversation
tjementum
force-pushed
the
e2e-playwright
branch
6 times, most recently
from
June 2, 2025 13:13
c429074 to
e6b052a
Compare
tjementum
force-pushed
the
e2e-playwright
branch
8 times, most recently
from
June 10, 2025 19:18
5152c8e to
db7437b
Compare
tjementum
force-pushed
the
e2e-playwright
branch
3 times, most recently
from
June 20, 2025 09:07
2e29107 to
c0aa48f
Compare
tjementum
force-pushed
the
e2e-playwright
branch
2 times, most recently
from
June 27, 2025 14:43
9d665eb to
f45071b
Compare
tjementum
force-pushed
the
e2e-playwright
branch
2 times, most recently
from
July 16, 2025 09:46
3cb66b9 to
858b4b6
Compare
tjementum
force-pushed
the
e2e-playwright
branch
2 times, most recently
from
July 24, 2025 10:53
2d8b954 to
6394852
Compare
tjementum
force-pushed
the
e2e-playwright
branch
from
July 24, 2025 11:37
6394852 to
0d0dc69
Compare
tjementum
force-pushed
the
e2e-playwright
branch
from
July 29, 2025 23:06
8df696c to
d3fda54
Compare
tjementum
marked this pull request as ready for review
July 29, 2025 23:18
tjementum
force-pushed
the
e2e-playwright
branch
from
July 30, 2025 08:00
1655356 to
8f07f5e
Compare
|
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Summary & Motivation
This change establishes a comprehensive end-to-end testing infrastructure using Playwright, providing a robust foundation for testing user workflows across all self-contained systems. The implementation includes authentication fixtures, test utilities, and organized test suites that ensure application functionality works correctly from a user's perspective.
Key features:
The infrastructure supports multiple browsers (Chromium, Firefox, WebKit) and provides detailed test reporting with screenshots and traces on failures. Tests are organized by functional areas and use descriptive step names for maintainability.
Downstream projects
Copy the Playwright test configuration files from Back Office to your self-contained system:
application/back-office/WebApp/tests/playwright.config.tstoyour-self-contained-system/WebApp/tests/playwright.config.tsapplication/back-office/WebApp/tests/tsconfig.jsontoyour-self-contained-system/WebApp/tests/tsconfig.jsonUpdate
your-self-contained-system/WebApp/rsbuild.config.tsto exclude test files from the build:server: { port: Number.parseInt(process.env.PORT || "9003"), + publicDir: { + name: "public", + copyOnBuild: true + } }, + source: { + exclude: ["**/tests/**/*"] + }your-self-contained-system/WebApp/tsconfig.jsonto exclude test files:"compilerOptions": { // ... existing options }, - "exclude": ["node_modules", "dist"] + "exclude": ["node_modules", "dist", "tests"]your-self-contained-system/WebApp/tests/e2e/homepage.spec.tsfollowing the pattern from Back Office.Checklist